#include <stdio.h>
int main() {
    int i = 0x12345678;
    char *p;

    p = (char *) &i;
    if (*p == 0x78) {
        printf("学号20145237的笔记本电脑是小端\n");
    }
    else {
        printf("学号20145237的笔记本电脑是大端\n");
    }
    return 0;
}
